using System.Text;
using System;
using Microsoft.SPOT;
using MLRobotic.IA;
using System.Collections;

// Required for NETMF to recognized extension methods
namespace System.Runtime.CompilerServices
{
    [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
    public sealed class ExtensionAttribute : Attribute { }
}


public static class MyExtensions
{
    //public static bool Walkable(this MLRobotic.IA.AireDeJeu.TypeCase elem)
    //{
    //    return ((byte)elem < 128);
    //}

    //public static bool Contient(this ArrayList VertexList, Point point)
    //{
    //    for (int i = 0; i < VertexList.Count; i++)
    //    {
    //        if (((Vertex)VertexList[i]).Position.CompareTo(point) >= 0)
    //        {
    //            return true;
    //        }
    //    }
    //    return false;

    //}


}
